/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enums;

/**
 *
 * @author Arcanis
 */
public enum ContactPart {

    EMAIL(true, true),
    NAME(true, true),
    SURNAME(true, true);
    private boolean sortable = false;
    private boolean searchable = false;

    private ContactPart(boolean sortable, boolean searchable) {
        this.searchable = searchable;
        this.sortable = sortable;
    }

    public boolean getSearchable() {
        return searchable;
    }

    public boolean getSortable() {
        return sortable;
    }
}
